package com.xuecheng.base.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * 分页查询参数
 *
 * @author xn
 * @date 2023/04/22
 */
@Schema(description = "分页查询参数")
@Data
@AllArgsConstructor
public class PageParams {
    @Schema(description = "当前页面")
    private Long pageNo = 1L;
    @Schema(description = "每页记录数")
    private Long pageSize = 10L;

    public Long getPageNo() {
        return pageNo;
    }

    public void setPageNo(Long pageNo) {
        this.pageNo = pageNo;
    }

    public Long getPageSize() {
        return pageSize;
    }

    public void setPageSize(Long pageSize) {
        this.pageSize = pageSize;
    }

}
